home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 1.iso
/
HENSA
/
MISC
/
SHELL.ARC
/
Shell
/
Sources
/
c
/
FindWind
< prev
next >
Wrap
Text File
|
1994-05-17
|
386b
|
19 lines
#include "Shell.Shell.h"
#include "Shell.FindWind.h"
Shell_windblock *Shell_FindWindBlock( window_handle window)
/* Finds the Shell_windblock from a window-handle */
/* Will need to change this when Shell windows are converted to a linked-list */
{
int i;
for ( i=0; i<Shell_numwinds; i++) {
if ( Shell_windows[i].window == window) return &Shell_windows[i];
}
return NULL;
}